<!--页面组件-->
<template>
  <div>
    <CCard>
      <div id="data">
        <!-- <div>质检报告预览界面</div>
        <div>地上生物量交叉验证精度统计 报告时间: 2020年5月16日</div>-->
        {{ data }}
      </div>
    </CCard>
  </div>
</template>


<!--js代码-->
<script>
export default {
  name: "infoPreview",
  props: {},
  data() {
    return {};
  },
  created() {},
  mounted() {
    this.previews();
  },
  methods: {
    previews() {
      let path = this.$api.qualityCheckApi.catDocument; // this.GlobalUrlPath.product.catDocument;
      let param = {
        path: this.$route.query.path,
      };
      this.http.get(path, param).then((res) => {
        if (res.data.success) {
          document.getElementById("data").innerHTML = res.data.data;
        }
      });
    },
  },
};
</script>


<!--css样式-->
<style scoped>
#data {
  margin: auto;
}
</style>